/*eslint-disable */ 
import request from "@/utils/request";

export function newsList(data) {
    return request({
      url: `news/list?pageNumber=${data.pageNumber}&pagesize=${data.pagesize}`,
      method: "get",
    });
}
export function newsInfo(id) {
    return request({
      url: `/news/getInfo?id=${id}`,
      method: "get",
    });
  }